﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PulsePrototype.Messages.PositionMessages
{
    /// <summary>
    /// Messaging system code by Nic Foster 
    /// http://gamedev.stackexchange.com/questions/23533/interaction-between-engine-parts/23578#23578
    /// Using floats instead of an XNA type Vector2 or Vector3 makes it slightly more flexible.
    /// </summary>
    public class PositionMessage : BaseMessage
    {
        public float x;
        public float y;
        public float z;

        protected PositionMessage(int destinationEntityID, MessageType messageType,
            float X = 0.0f, float Y = 0.0f, float Z = 0.0f) :
            base(destinationEntityID, messageType)
        {
            this.x = X;
            this.y = Y;
            this.z = Z;
        }

    }
}
